package magic.deckbuilder.modifyDeck;

import magic.deckbuilder.R;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;

public class ModifyDeckActivity extends Activity {
	
	public static double deckToDisplay;
	private double deckDisplay;
	
	public static void lauchActivity(double deckToDisplay, Context context) {
		ModifyDeckActivity.deckToDisplay = deckToDisplay;
		context.startActivity(new Intent(context, ModifyDeckActivity.class));
	}

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_modify_deck);
		deckDisplay = deckToDisplay;
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.modify_deck, menu);
		return true;
	}

}
